package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.example.pojo.Person;

import java.util.List;

/**
 * @Author: luyg
 * @Date: 2024/09/04/12:43
 * @Description:
 */
public interface PersonMapper {

    @Select("select *from person where name=#{name}")
    List<Person> getPersonByName(@Param("name")String name);
}
